package com.example.demo.service;

import com.example.demo.feign.DemoFeignClient;
import com.example.pojo.Demo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DemoService {

    @Autowired
    private DemoFeignClient demoFeignClient;
    public Demo demo(Demo req) {
        return demoFeignClient.demo(req).getT();
    }
}
